#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:Taotie Ren
# import logging 
# 禁用日志模块
# logging.disable(logging.CRITICAL)
# logging.basicConfig(level=logging.DEBUG, format=' %(asctime)s - %(levelname)s - %(message)s')

# countdowm.py - A simple countdowm script.
import time, subprocess

timeLeft = 60
while timeLeft > 0:
	print(timeLeft, end=' ')
	time.sleep(1)
	timeLeft = timeLeft -1

# At the end of the countdown, play a sound file.
subprocess.Popen(['start', 'alarm.wav'], shell=True)




